package org.example.service.impl;

import org.example.mapper.ClickTestMapper;
import org.example.service.ClickTestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ClickTestServiceImpl implements ClickTestService {

    @Resource
    private ClickTestMapper clickTestMapper;

    @Override
    public boolean getClickTest() {
        List<Map<String, Object>> clickTest = clickTestMapper.getClickTest();
        System.out.println(clickTest);

        if (clickTestMapper.getClickTest().equals("456")){
            return true;
        }
        return false;
    }
}
